home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / src / exampleCode / games / IndiZone / gold / panel.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-08-02  |  1.4 KB  |  40 lines

  1. /*
  2.  * The original copyright owners of the accompanying source code files have
  3.  * agreed to place such code into the public domain.  Accordingly, anyone
  4.  * who receives or obtains a copy of such source code is freely entitled to
  5.  * reproduce, use and otherwise exploit such code (including the right to
  6.  * make derivative works), at his/her own risk and expense, without any
  7.  * obligation or liability to the original copyright owners.
  8.  *
  9.  * We would appreciate (but do not require) that the following message be
  10.  * included in any derivative works:
  11.  *
  12.  * "Portions of this program were developed by Peter Broadwell, Rob Myers
  13.  * and Robin Schaufler while working in Silicon Valley."
  14.  *
  15.  * The accompanying source code files and related documentation materials
  16.  * are distributed on an "AS IS" basis, without any warranties or
  17.  * guarantees of any kind.  All implied warranties, including the implied
  18.  * warranties of merchantability and of fitness for any particular purpose,
  19.  * are expressly disclaimed.
  20.  */
  21. typedef struct _panel {
  22.     mailbox them;
  23.     struct _panel *next;
  24.     struct _panel *kids;
  25.     struct _panel *dad;
  26.     rectangle area;    /* screen area reserved for picking this panel */
  27.     Object painter;
  28. } panel;
  29.  
  30. typedef struct {
  31.     panel base;
  32.     int clientColor;
  33.     int hue, satur, value;
  34. } colorPanel;
  35.  
  36. typedef struct {
  37.     panel base;
  38.     point2d highwater;
  39. } masterPanel;
  40.